package com.sgolub.commanndsonline.service.ref.distinct;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.sgolub.commanndsonline.dao.ref.distinct.RefDistinctSupportTypeDAO;
import com.sgolub.commanndsonline.domain.ref.distinct.RefDistinctSupportType;

@Service
public class RefDistinctSupportTypeServiceImpl implements RefDistinctSupportTypeService {

	@Autowired
	private RefDistinctSupportTypeDAO refDistinctSupportTypeDAO;
	

	@Transactional
	public List<RefDistinctSupportType> list() {
		return refDistinctSupportTypeDAO.list();
	}

	@Transactional
	public List<RefDistinctSupportType> match(String matchString){
		return refDistinctSupportTypeDAO.match(matchString);
	}
	
}
